<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>添加管理员</title>
<{include file="js.html"}>
</head>
<body>
<div class=" box pd-20" >
    <form  id="myFormOne"  method="post" action="<{$_basename}>?action=submit&id=<{$row.id}>" enctype='multipart/form-data' class="form formOne  form-horizontal"  >
    	<div class="row cl" >
			<label class="form-label col-3"><span class="c-red">*</span>商品名称:</label>
			<div class="formControls col-5" >
				<input type="text" class="input-text" value='<{$row.title}>' placeholder="请输入公司名" id="company-name" name="title" datatype="*" nullmsg="公司名不能为空">
			</div>
			<div class="col-4"> </div>
		</div>
     <{if $row.img!=""}>
		<div class="row cl">
			<label class="form-label col-3"><span class="c-red">*</span>预览:</label>
			<div class="formControls col-5">
				<a target="_blank" href="../admin/upload/image/large/<{$row.img}>"><img src="../admin/upload/image/small/<{$row.img}>" width="110" height="60" /></a>
			</div>
			<div class="col-4"> </div>
		</div>
        <{/if}>
     <{if $row.businesslicense!=""}>
		<div class="row cl">
			<label class="form-label col-3"><span class="c-red">*</span>预览:</label>
			<div class="formControls col-5">
				<a target="_blank" href="../admin/upload/test/large/<{$row.businesslicense}>"><img src="../admin/upload/test/small/<{$row.businesslicense}>" width="110" height="60" /></a>
			</div>
			<div class="col-4"> </div>
		</div>
        <{/if}>
     <{if $row.legalperson!=""}>
		<div class="row cl">
			<label class="form-label col-3"><span class="c-red">*</span>预览:</label>
			<div class="formControls col-5">
				<a target="_blank" href="../admin/upload/person/large/<{$row.legalperson}>"><img src="../admin/upload/person/small/<{$row.legalperson}>" width="110" height="60" /></a>
			</div>
			<div class="col-4"> </div>
		</div>
        <{/if}>

		<div class="row cl" >
			<label class="form-label col-3"><span class="c-red">*</span>交易数量:</label>
			<div class="formControls col-5" >
			<{if $row.star!=false}>
				<input type="text" class="input-text" value='<{$row.star}>' id="company-name" name="star"/>
				<{else}>
				<input type="text" class="input-text" value='暂无' id="company-name" name="star"/>
			<{/if}>
			</div>
			<div class="col-4"> </div>
		</div>
      <div class="row cl" >
			<label class="form-label col-3"><span class="c-red">*</span>支付金额:</label>
			<div class="formControls col-5" >
				<input type="text" class="input-text" value='<{$trades.title}>' placeholder="请输入公司名" id="company-name" name="title" datatype="*" nullmsg="公司名不能为空">
			</div>
			<div class="col-4"> </div>
		</div>
		<div class="row cl" >
			<label class="form-label col-3"><span class="c-red">*</span>支付方式:</label>
			<div class="formControls col-5" >
				<input type="text" class="input-text" value='<{$trades.title}>'name="title">
			</div>
			<div class="col-4"> </div>
		</div>
		<div class="row cl" >
			<label class="form-label col-3"><span class="c-red">*</span>支付状态:</label>
			<div class="formControls col-5" >
				<input type="text" class="input-text" value='<{$trades.title}>'name="title">
			</div>
			<div class="col-4"> </div>
		</div>
		<div class="row cl" >
			<label class="form-label col-3"><span class="c-red">*</span>交易状态:</label>
			<div class="formControls col-5" >
				<input type="text" class="input-text" value='<{$trades.title}>'name="title">
			</div>
			<div class="col-4"> </div>
		</div>
		
		<div class="row cl">
			<label class="form-label col-3"><span class="c-red">*</span>下单时间:</label>
			<div class="formControls col-5">
            <select class="subCheck" name="sore" id="selScore"  style=" border-radius:0px; -webkit-appearance:none; -webkit-border-radius:0px; width:180px; height:29px; background-color:transparent; border-color:#CCC" datatype="*" nullmsg="公司名不能为空" onchange=" changeName('selScore','score->name','score->id','<{$name}>')"><option  value= "00"><{$row.score}></option></select>
			</div>
			<div class="col-4"> </div>
		</div>
        <div class="row cl">
			<label class="form-label col-3"><span class="c-red">*</span> 成功交易时间:</label>
			<div class="formControls col-5">
				<input type="text"  class="input-text">
                <input type="text" id="score->id" style="display:none" value="" >
			</div>
			<div class="col-4"> </div>
		</div>
      <div class="row cl">
			<label class="form-label col-3"><span class="c-red">*</span>公司行业:</label>
			<div class="formControls col-5">
            <select class="subCheck" name="sore" id="selTrade"  onchange="rechangeTrad('selTrade','trade->id','<{$trade}>')" style=" border-radius:0px; -webkit-appearance:none; -webkit-border-radius:0px; width:180px; height:29px; background-color:transparent; border-color:#CCC"  datatype="*" nullmsg="公司名不能为空"><option  value= "00"><{$trades}></option></select>
              <input type="text" id="trade->id" style="display:none" value="" >
			</div>
			<div class="col-4"> </div>
		</div>
		<div class="row cl">
			<div class="col-9 col-offset-3">
            <input  type="submit" name="save"  value="保存" class="inp" />
            <input  type="button" name="btn_reset"  value="重置" class="btn_reset inp" />
			</div>
		</div>
    </form>  
</body>
</html>